<template>
  <div id="rootone">
    <div class="topone">
      <div class="topone1">
        <div class="shezhi" @click="Setting"></div>
        <div class="gengduo"></div>
      </div>
      <div class="topone2">
        <div class="topone21"><img
            src="https://hshopb.honorfile.com/nwap/221030101/staticm/img/personal/defaultface_user_after.png" alt="">
        </div>
        <div>
          <div class="topone221" @click="tologin">登录/注册</div>
          <div class="topone222">
            <div class="topone2221"><img src="https://file06.c.hihonor.com/uc/right/silver_member.png" alt=""></div>
            <div>
              <div class="topone3">
                <div class="topone31">签到领积分</div>
              </div>
            </div>
            <div class="topone2223"> <img
                src="https://file05.c.hihonor.com/pimages//pages/picImages/27630564301616503672.png" alt=""> </div>
          </div>
        </div>
      </div>
    </div>
    <div class="toptwo">
      <div class="toptwo1">
        <div class="toptwo11">10</div>
        <div class="toptwo12" @click="funw()">积分</div>
      </div>
      <div class="shu">|</div>
      <div class="toptwo1">
        <div class="toptwo13">0</div>
        <div class="toptwo12">优惠券</div>
      </div>
      <div class="shu">|</div>
      <div class="toptwo1">
        <div class="toptwo11">0.00</div>
        <div class="toptwo12">代金券</div>
      </div>
    </div>
  </div>
</template>

<script>
import 'vant/lib/index.css';
import Vue from 'vue';

import { Button } from 'vant';
import Setting from '@/pages/yan/Setting.vue';
Vue.use(Button);
export default {
  methods: {
    funw() {
      this.$router.push("/jifen")
    },

    Setting() {
      this.$router.push("/setting")
    },
    tologin(){
      this.$router.push("/login")
    }
  },

  mounted(){
    
  }
}
</script>

<style scopde>
* {
  margin: 0;
  padding: 0;
}

.topone {
  width: 100%;
  height: 11.25rem;
  background-color: #4282ff;
  overflow: hidden;
}

.toptwo {
  background-color: white;
  height: 5.375rem;
  width: 95%;
  margin: 0 auto;
  border-radius: .625rem;
  margin-top: -1.2375rem;
  overflow: hidden;
  display: flex;
}

.toptwo1 {
  margin: 1.25rem 1.5rem;
  width: 100%;

}

.shu {
  margin-top: 1.7625rem;
  color: #eaeaea;
}

.toptwo11 {
  margin-bottom: .3125rem;
  margin-left: 1.1375rem;
}

.toptwo12 {
  margin-left: .8375rem;
}

.toptwo13 {
  margin-left: 1.9375rem;
  margin-bottom: .3125rem;
}

.shezhi {
  background: url(https://hshopb.honorfile.com/nwap/221030101/staticm/img/icon_setting.3e822f4.png) scroll no-repeat;
  background-size: 1.875rem 1.875rem;
  width: 1.875rem;
  height: 1.875rem;
  margin-left: 17.125rem;
  margin-right: .625rem;
  margin-top: 1.25rem;
}

.gengduo {
  background: url();
  background-size: 1.875rem 1.875rem;
  width: 1.875rem;
  height: 1.875rem;
  margin-top: 1.25rem;
}

.topone1 {
  display: flex;
}

.topone2 {
  display: flex;
}

.topone21 {
  width: 3.9056rem 3.9056rem;
  margin-left: 1.4375rem;
}

.topone21 img {
  width: 3.9056rem;
  height: 3.9056rem;
}

.topone221 {
  font-size: 1.25rem;
  font-weight: 43.75rem;
  color: white;
  margin-left: .625rem;
}

.topone222 {
  display: flex;
}

.topone2221 img {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .625rem;
  margin-left: .625rem;
}

.topone2223 img {
  width: 5.9375rem;
  height: 1.875rem;
  margin-left: 3.075rem;
}

.topone3 {
  height: 1.35rem;
  width: 6.875rem;
  background-color: #09a4e9;
  border-radius: .625rem;
  margin-left: .625rem;
  margin-top: .625rem;
  display: flex;
}

.topone31 {
  font-size: .875rem;
  color: white;
  text-align: center;
  margin-left: .925rem;
}
</style>